<template>
  <div class="img">
    <img :src="message.messageInfo.body.fileUrl" alt="" />
  </div>
</template>

<script>
export default {
  props: ['message'],
  methods: {}
};
</script>
<style lang="scss" scoped>
.img {
  width: 169px;
  //height: auto;
  height: 144px;
  overflow: hidden;
  > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background: #000;
  }
}
</style>
